﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PlayerTest.Player.Data
{
    public class SMIContent
    {
        private long time;
        private string type;
        private string text;

        public SMIContent() { }
        public SMIContent(long time, string type, string txt)
        {
            this.time = time;
            this.type = type;
            text = txt;
        }

        public long Time
        {
            get { return time; }
            set { time = value; }
        }

        public string Type
        {
            get { return type; }
            set { type = value; }
        }

        public string Text
        {
            get { return text; }
            set { text = value; }
        }

    }

    class InfoSentence
    {
        private long start;
        private string sent;

        public InfoSentence() { }
        public InfoSentence(long time, string txt)
        {
            this.start = time;
            sent = txt;
        }

        public long Start
        {
            get { return start; }
            set { start = value; }
        }

        public string Sent
        {
            get { return sent; }
            set { sent = value; }
        }

    }

    class InfoWord
    {
        private string word;

        public InfoWord() { }
        public InfoWord(string word)
        {
            //pattern = ptn;
            this.word = word;
        }
        /*
        public string Pattern
        {
            get { return pattern; }
            set { pattern = value; }
        }
        */
        public string Word
        {
            get { return word; }
            set { word = value; }
        }
    }

    class InfoSection
    {
        private string thumb;
        private double start;
        private double end;

        public double Start
        {
            get { return start; }
            set { start = value; }
        }
        public double End
        {
            get { return end; }
            set { end = value; }
        }
        public string Thumb
        {
            get { return thumb; }
            set { thumb = value; }
        }

        public InfoSection(double start, double end, string thumb)
        {
            this.start = start;
            this.end = end;
            this.thumb = thumb;
        }
    }
}
